public class Main {
    public static void main(String[] args) {
        String str1 = new String("abcd");
        String str2 = "hello";
        char[] arrays = {'w','o','r','l','d'};
        String str3 = new String(arrays);

        System.out.println(str1);
        System.out.println(str2);
        System.out.println(str3);
    }
}
